package io.zhifei.modules.sys.pr.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import io.zhifei.common.utils.ApiResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import io.zhifei.modules.sys.pr.entity.Student;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 * 广告位表 服务类
 * </p>
 *
 * @author luoqiming
 * @since 2021-08-09
 */
public interface DataCollectionService extends IService<Student> {

    /**
     * 查询分页数据，Specification模式
     *
     * @author luoqiming
     * @Date 2021-08-09
     */
    ApiResponse findPageBySpec();

    ApiResponse addData(Student studentParam);

    ApiResponse dcAddList();

    /***
     * 报表导入
     * @param file
     */
    Object importCustomer(MultipartFile file);

    Integer conversion(String str);

    ApiResponse copyList();

    void merge();


    /**
     * 导出
     *
     * @param request
     * @param response
     * @throws IOException
     */
    void export(HttpServletRequest request, HttpServletResponse response) throws IOException;
}
